package mcchristian;

import com.opensymphony.xwork2.ActionSupport;  

public class HelloWorld extends ActionSupport  
{  
    private static final String MESSAGE = "Struts is up and running...";  
    private String message;  
    private String account;  
    private String password; 
    public HelloWorld()  
    {  
          
    }  
      
    @Override  
    public String execute() throws Exception  
    {  
        setMessage(MESSAGE);  
        System.out.println("Account Attribute==="+"account="+account+",password="+password);
        return SUCCESS;  
    }  
      
    public void setMessage(String message)  
    {  
        this.message = message;  
    }  
      
    public String getMessage()  
    {  
        return this.message;  
    }  
    
    public String getAccount() {  
        return account;  
    }  
    public void setAccount(String account) {  
        this.account = account;  
    }  
    public String getPassword() {  
        return password;  
    }  
    public void setPassword(String password) {  
        this.password = password;  
    }  
}  
